package com.qianying.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.util.Date;

/**
 * 验收方式实体类，对应数据库表acceptance_method
 */
@Data
@TableName("acceptance_method")
@Schema(description = "验收方式实体类，存储验收方式的基本信息")
public class AcceptanceMethod {

    @TableId(value = "id", type = IdType.AUTO)
    @Schema(description = "主键ID，自增", example = "1", type = "integer")
    private Long id;

    @TableField("method_name")
    @Schema(description = "验收方式名称", required = true, example = "纸质手签")
    private String methodName;

    @TableField("method_code")
    @Schema(description = "验收方式代号", example = "PAPER_SIGN")
    private String methodCode;

    @TableField("description")
    @Schema(description = "验收方式详细说明", example = "店铺打印资料手工签字，师傅上传资料照片作为凭证")
    private String description;

    @TableField("create_time")
    @Schema(description = "记录创建时间", example = "2025-08-05T10:30:00")
    private Date createTime;

    @TableField("update_time")
    @Schema(description = "记录最后更新时间", example = "2025-08-05T14:20:00")
    private Date updateTime;
}
    